<html>
<head><meta charset="utf-8"><title>Failed CI in PR · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html">Failed CI in PR</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="206328440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206328440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206328440">(Aug 08 2020 at 03:06)</a>:</h4>
<p>Any ideas why the latest CI run in <a href="https://github.com/rust-analyzer/rust-analyzer/pull/4743">https://github.com/rust-analyzer/rust-analyzer/pull/4743</a> failed? My guess is because no tests ran in the mac target. I'm not able to trigger a re-run though, and I'm not sure why it would fail. The last push was a rebase to fix merge conflicts.</p>



<a name="206330161"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206330161" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206330161">(Aug 08 2020 at 04:00)</a>:</h4>
<blockquote>
<p>thread 'test_format_document' panicked at 'called <code>Result::unwrap()</code> on an <code>Err</code> value: Os { code: 66, kind: Other, message: "Directory not empty" }', crates/rust-analyzer/tests/heavy_tests/testdir.rs:44:9</p>
</blockquote>



<a name="206330162"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206330162" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206330162">(Aug 08 2020 at 04:00)</a>:</h4>
<p>Hmm</p>



<a name="206330257"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206330257" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206330257">(Aug 08 2020 at 04:02)</a>:</h4>
<p>So we've recently replaced <code>tempdir</code> with a simpler implementation: <a href="https://github.com/rust-analyzer/rust-analyzer/pull/5510/files">https://github.com/rust-analyzer/rust-analyzer/pull/5510/files</a>, but I'd expect it to be more problematic on Windows than Mac OS</p>



<a name="206330400"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206330400" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206330400">(Aug 08 2020 at 04:07)</a>:</h4>
<p>I don't know why <a href="https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/tests/heavy_tests/testdir.rs#L44">https://github.com/rust-analyzer/rust-analyzer/blob/master/crates/rust-analyzer/tests/heavy_tests/testdir.rs#L44</a> would panic. Maybe a new file showed up while it was removing them?</p>



<a name="206330445"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206330445" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206330445">(Aug 08 2020 at 04:08)</a>:</h4>
<p>It could also be a bug in the server or a weird interaction between tests, but I don't think it's related to your changes</p>



<a name="206330465"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206330465" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206330465">(Aug 08 2020 at 04:09)</a>:</h4>
<p>I'd try to push a dummy commit to trigger CI again, and maybe run the tests locally with <code>RUN_SLOW_TESTS=1</code>, but I don't think it's that easy to reproduce</p>



<a name="206351420"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206351420" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206351420">(Aug 08 2020 at 15:05)</a>:</h4>
<p>I'll rebase on master and push again</p>



<a name="206352547"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20CI%20in%20PR/near/206352547" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Paul Faria <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20CI.20in.20PR.html#206352547">(Aug 08 2020 at 15:38)</a>:</h4>
<p>Looks like that fixed it :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>